package cn.edu.gzhmt.user.domain;

import java.io.Serializable;

public class User implements Serializable {

	private String uid; // 用户id
	private String username; // 用户名
	private String password; // 密码
	private String phone; // 手机号码
	private String email; // 邮箱
	private String address; // 收货地址
	private String code; // 验证码
	private String state; // 激活码
	private Boolean isstate; // 用户是否激活
	private Boolean isadmin; // 用户是否是管理员，默认是0，非管理员
	private Boolean udel; // 用户是否已经删除

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Boolean getIsstate() {
		return isstate;
	}

	public void setIsstate(Boolean isstate) {
		this.isstate = isstate;
	}

	public Boolean getIsadmin() {
		return isadmin;
	}

	public void setIsadmin(Boolean isadmin) {
		this.isadmin = isadmin;
	}

	@Override
	public String toString() {
		return "User [uid=" + uid + ", username=" + username + ", password="
				+ password + ", phone=" + phone + ", email=" + email
				+ ", address=" + address + ", code=" + code + ", state="
				+ state + ", isstate=" + isstate + ", isadmin=" + isadmin + "]";
	}

}
